<?php
$SiteDescription = __d('cake_dev', 'Looking Ahead');
$cakeVersion = __d('cake_dev', 'CakePHP %s', Configure::version())
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title> 
            <?php echo $SiteDescription ?>:
            <?php echo $title_for_layout; ?>
        </title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <meta name="layout" content="main"/>

        <script type="text/javascript" src="http://www.google.com/jsapi"></script>

        <?php echo $this->Html->script('jquery/jquery-1.8.2.min'); ?>
        <?php echo $this->Html->css('customize-template'); ?>

        <style>
            form .required label:after {
                color: #EE3322;
                content: "*";
                display: inline;
            }
        </style>
    </head>
    <body>
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container">
                    <button class="btn btn-navbar" data-toggle="collapse" data-target="#app-nav-top-bar">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a href="<?php echo $this->Html->url('/'); ?>" class="brand"><i class="icon-leaf"><?php echo $SiteDescription ?></i></a>
                    <div id="app-nav-top-bar" class="nav-collapse">

                        <ul class="nav pull-right">
                            <!--                            <li>
                                                            <a href="login.html">Logout</a>
                                                        </li>-->
                            <li>
                                <a href="<?php echo $this->Html->url(array('controller' => 'pages', 'action' => 'register', $this->params['prefix'] => false)); ?>">Register</a>
                            </li>
                            <li>
                                <a href="<?php echo $this->Html->url(array('controller' => 'users', 'action' => 'login')); ?>">Login</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div id="body-container">
            <div id="body-content">

                <?php echo $this->Session->flash(); ?>

                <?php echo $this->fetch('content'); ?>



            </div>
        </div>

        <div id="spinner" class="spinner" style="display:none;">
            Loading&hellip;
        </div>

        <footer class="application-footer">
            <div class="container">
                <p></p>
                <div class="disclaimer">
                    <p>Copyright © <?php echo date('Y') . '  ' . $SiteDescription ?></p>
                </div>
            </div>
        </footer>
        <?php echo $this->Html->script('bootstrap/bootstrap-transition'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-alert'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-modal'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-dropdown'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-scrollspy'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-tab'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-tooltip'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-popover'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-button'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-collapse'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-carousel'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-typeahead'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-affix'); ?>
        <?php echo $this->Html->script('bootstrap/bootstrap-datepicker'); ?>
        <?php echo $this->Html->script('jquery/jquery-tablesorter'); ?>
        <?php echo $this->Html->script('jquery/jquery-chosen'); ?>
        <?php echo $this->Html->script('jquery/virtual-tour'); ?>
        <script type="text/javascript">
            $(function() {
                $('#sample-table').tablesorter();
                $('#datepicker').datepicker();
                $(".chosen").chosen();
            });
        </script>

    </body>
</html>